package com.yzi.core.json
{
	public class JSONParseError extends Error
	{
		private var m_location:int;
		private var m_text:String;
		
		public function JSONParseError($message:*="", $location:int = 0, $text:String = "")
		{
			super($message);
			name = "JSONParseError";
			m_location = $location;
			m_text = $text;
		}
		
		public function get location(): int { return m_location; }
		
		public function get text(): String { return m_text; }
	}
}